RGB2HSV
RGB2HSV Convert an RGB color record to its HSV equivalent
#include <Picker.h> Color Picker Package
void RGB2HSV(rColor,hColor);
RGBColor *rColor; is the starting color record
HSVColor *hColor; is the resulting color record
The RGB2HSV procedure converts an RGBColor record to its equivalent
HSVColor record.
rColor is the RGBColor record to be converted
hColor is the resulting, equivalent, HSVColor record
Returns: none

Notes: A SmallFract is the fractional part of a Fixed number, can be assigned
directly to and from a short , and represents values between 0 and 65,535.
By using a SmallFract while short is used as an unsigned integer-sized
value (as is the case with RGBColor), the Color Picker sidesteps
problems with sign extensions in the conversion math.